{extend name="public/common"/}
{block name="head"}
{/block}


{block name="banner"}

{/block}
{block name="body"}

<!-- Start page title -->
<div class="page-title bg-page-title5">
    <div class="overlay">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <div class="section-header">
                        <h5 class="sub-title">Blog</h5>
                        <h2 class="title">LATEST NEWS</h2>
                    </div>
                    <ol class="breadcrumb">
                        <li><a href="#">Home</a></li>
                        <li><a href="#">Library</a></li>
                        <li class="active">Data</li>
                    </ol>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- End page title -->

<!-- blog start -->
<div id="blog" class="blog-section m-b80">
    <div class="blog-main">
        <div class="container">
            <div class="row">
                <div class="col-md-9">
                    <div class="blog-details">

                        <div class="post-desk">
                            <h6 class="title"> {$data.title}</h6>
                            <div class="post-meta">
                                <a href="#"><i class="icon icon-User"></i>{:config('setting.web_site_title')}</a>
                            </div>
                            {$data.article.content}

                        </div>
                        <div class="post-info"  style="display: none">
                            <div class="share">
                                <span><i class="fa fa-share-alt" aria-hidden="true"></i></span>
                                <a href="#"><span class="fa fa-facebook"></span></a>
                                <a href="#"><span class="fa fa-twitter"></span></a>
                                <a href="#"><span class="fa fa-google-plus"></span></a>
                                <a href="#"><span class="fa fa-pinterest-p"></span></a>
                            </div>
                            <div class="tags">
                                <span><i class="fa fa-tags" aria-hidden="true"></i>Tag:</span>
                                <a href="#">Fashion,</a>
                                <a href="#">New,</a>
                                <a href="#">Collector,</a>
                                <a href="#">Watch,</a>
                                <a href="#">Menz</a>
                            </div>
                        </div>
                        <div class="author-bio" style="display: none">
                            <div class="media-left">
                                <div class="thumb">
                                    <img src="__IMG__/blog/04.jpg" alt="blog">
                                </div>
                            </div>
                            <div class="media-body">
                                <h5 class="title">JARIN JOHA </h5>
                                <p>
                                    内容
                                </p>
                            </div>
                        </div>
                    </div><!-- /.blog-single -->
                    <div class="comment-list" style="display: none">
                        <h5 class="heading">留言</h5>
                        <div class="comment">
                            <div class="media-left">
                                <div class="thumb">
                                    <img src="__IMG__/blog/05.jpg" alt="blog">
                                </div>
                            </div>
                            <div class="media-body">
                                <h5 class="title">JARIN JOHA <span class="pipe">||</span> <span class="reply"><a href="#">Reply <i class="fa fa-share" aria-hidden="true"></i></a></span><span class="time pull-right"><i class="fa fa-clock-o"></i><i>12 Jan, 2021</i></span></h5>
                                <p>
                                    内容
                                </p>
                            </div>
                            <div class="comment">
                                <div class="media-left">
                                    <div class="thumb">
                                        <img src="__IMG__/blog/06.jpg" alt="blog">
                                    </div>
                                </div>
                                <div class="media-body">
                                    <h5 class="title">JARIN JOHA <span class="pipe">||</span> <span class="reply"><a href="#">Reply <i class="fa fa-share" aria-hidden="true"></i></a></span><span class="time pull-right"><i class="fa fa-clock-o"></i><i>12 Jan, 2021</i></span></h5>
                                    <p>
                                        回复内容
                                    </p>
                                </div>
                            </div><!-- /.comment -->
                        </div><!-- /.comment -->

                    </div>
                    <div class="comment-form" style="display: none">
                        <h5 class="heading">提交留言</h5>
                        <form action="#">
                            <div class="row">
                                <div class="col-sm-6">
                                    <div class="form-group">
                                        <input type="text" placeholder="昵称">
                                    </div>
                                    <div class="form-group">
                                        <input type="email" placeholder="邮箱/联系方式">
                                    </div>
                                </div>
                                <div class="col-sm-6">
                                    <textarea cols="30" rows="6" placeholder="留言内容"></textarea>
                                </div>
                                <div class="col-sm-12 text-right">
                                    <a href="#" class="btn-submit">提交</a>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>

                {include file="document/right"/}
            </div>
        </div>
    </div>	<!-- /.end topbar -->
</div>


{/block}


{block name="script"}

<script src="__COMMON__/layer/layer.js"></script>
<script type="text/javascript">
    function noMore(tag) {
        layer.msg('没有' + tag + '一条{$data.category.title}了')
    }


    $(document).ready(function () {
        $.ajax({
            type: "POST",
            url: "{:url('view')}",
            data: {
                __token__: "{:token()}",
                id:"{$data.id}"
            },
            dataType: 'json',
            cache: false,
            success: function (data) {

            }
        });
    });

</script>

{/block}
